/*
 * @Author: your name
 * @Date: 2022-02-01 14:52:51
 * @LastEditTime: 2022-02-01 15:32:44
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vue3-ts-food-admin\mock\createProductionServer.ts
 */
import { createProdMockServer } from "vite-plugin-mock/es/createProdMockServer";

import mockModules from "./index";

/**
 * Used in a production environment. Need to manually import all modules
 */
export function setupProdMockServer() {
  createProdMockServer([...mockModules]);
}
